package com.hyst.service;

import com.github.pagehelper.Page;
import com.hyst.domain.RecommendMsg;
import com.hyst.domain.Student;

/**
 * @Description:Service
 * @author：dy 
 * @Date：2018年09月26日
 */

public interface RecommendMsgService {

	/**
	 * @Description: 根据条件列表查询
	 * @param recommendMsg
	 * @return Page<RecommendMsg>
	 */
	Page<RecommendMsg> list(RecommendMsg recommendMsg);

	/**
	 * @Description:添加单条记录，空属性值会采用数据库默认值插入
	 * @param recommendMsg
	 * @return RecommendMsg
	 */
	RecommendMsg insert(RecommendMsg recommendMsg);

	/**
	 * @Description:根据主键获取
	 * @param uniqueId
	 * @return RecommendMsg
	 */
	RecommendMsg getByPriKey(String uniqueId);

	/**
	 * @Description:根据对象主键更新对象不为空字段
	 * @param recommendMsg
	 * @return RecommendMsg
	 */
	RecommendMsg updateSelective(RecommendMsg recommendMsg);

	/**
	 * @Description:根据对象主键更新对象不为空字段
	 * @param recommendMsg
	 * @return RecommendMsg
	 */
	RecommendMsg update(RecommendMsg recommendMsg);

	/**
	 * @Description:根据主键获取
	 * @param uniqueId
	 * @return RecommendMsg
	 */
	RecommendMsg delete(String uniqueId);

	// 2018-9-27 chenbin: 保存奖励发放和备注
	RecommendMsg saveAward(String saveMsg);
	// 2018-9-27 chenbin: 保存奖励核销和备注
	RecommendMsg saveSubstract(String saveMsg);
}
